import request from '@/utils/request'

// 进度日志删除
export function deleteSchedule(params) {
  return request({
    url: '/administrative/schedule/deleteByPrimaryKey',
    method: 'POST',
    params
  })
}

// 进度日志添加
export function insertSchedule(data) {
  return request({
    url: '/administrative/schedule/insertSelective',
    method: 'POST',
    data
  })
}

// 进度日志修改
export function updateSchedule(data) {
  return request({
    url: '/administrative/schedule/updateByPrimaryKeySelective',
    method: 'POST',
    data
  })
}

// 进度日志管理查询
export function getScheduleList(params) {
  return request({
    url: '/administrative/schedule/selectPage',
    method: 'post',
    params
  })
}

// 删除
export function deleteFiliale(params) {
  return request({
    url: '/administrative/filiale/deleteByPrimaryKey',
    method: 'POST',
    params
  })
}

// 修改
export function updateFiliale(data) {
  return request({
    url: '/administrative/filiale/updateByPrimaryKeySelective',
    method: 'POST',
    data
  })
}

// 修改查询
export function selectFiliale(params) {
  return request({
    url: '/administrative/filiale/selectByPrimaryKey',
    method: 'POST',
    params
  })
}

// 分公司筹建分页查询
export function getFilialeList(params) {
  return request({
    url: '/administrative/filiale/selectPage',
    method: 'POST',
    params
  })
}

// 分公司筹建添加
export function insertFiliale(data) {
  return request({
    url: '/administrative/filiale/insertSelective',
    method: 'POST',
    data
  })
}

// 进度日志修改查询
export function selectSchedule(params) {
  return request({
    url: '/administrative/schedule/selectByPrimaryKey',
    method: 'POST',
    params
  })
}

